<template>
  <div>
    <el-row>
      <el-col :span="10" :offset="7" style="margin-top: 30px">
        <el-form ref="form" :model="form" label-width="80px">
          <el-form-item label="大码长度">
            <el-input v-model="form.big_code" type="number" />
          </el-form-item>
          <el-form-item label="中码长度">
            <el-input v-model="form.mid_code" type="number" />
          </el-form-item>
          <el-form-item label="小码长度">
            <el-input v-model="form.small_code" type="number" />
          </el-form-item>
          <el-form-item>
            <el-button type="primary" @click="onSubmit">设置</el-button>
          </el-form-item>
        </el-form>
      </el-col>
    </el-row>

  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        big_code: '',
        mid_code: '',
        small_code: ''
      }
    }
  },
  methods: {
    onSubmit() {
      console.log('tijiao')
    }
  }
}
</script>

<style lang="sass" scoped>

</style>
